.class public Les/fu;
.super Ljava/lang/Object;
.source "SearchAdvancedConditionDialog.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Les/fu$e;,
        Les/fu$f;
    }
.end annotation


# instance fields
.field private a:Landroid/content/Context;

.field private b:Lcom/estrongs/android/ui/dialog/q;

.field private c:Ljava/lang/String;

.field private d:Landroid/widget/TableLayout;

.field private e:Landroid/widget/TextView;

.field private f:Landroid/widget/TextView;

.field private g:Les/eu$g;

.field private h:Les/eu$g;

.field private i:Landroid/content/Intent;

.field private j:Les/fu$f;


# direct methods
.method public constructor <init>(Landroid/content/Context;Landroid/content/Intent;)V
    .locals 1

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/4 v0, 0x0

    .line 2
    iput-object v0, p0, Les/fu;->e:Landroid/widget/TextView;

    .line 3
    iput-object v0, p0, Les/fu;->f:Landroid/widget/TextView;

    .line 4
    new-instance v0, Les/eu$g;

    invoke-direct {v0}, Les/eu$g;-><init>()V

    iput-object v0, p0, Les/fu;->g:Les/eu$g;

    .line 5
    new-instance v0, Les/eu$g;

    invoke-direct {v0}, Les/eu$g;-><init>()V

    iput-object v0, p0, Les/fu;->h:Les/eu$g;

    .line 6
    iput-object p1, p0, Les/fu;->a:Landroid/content/Context;

    .line 7
    iput-object p2, p0, Les/fu;->i:Landroid/content/Intent;

    .line 8
    invoke-direct {p0}, Les/fu;->c()V

    return-void
.end method

.method static synthetic a(Les/fu;)Ljava/lang/String;
    .locals 0

    .line 1
    iget-object p0, p0, Les/fu;->c:Ljava/lang/String;

    return-object p0
.end method

.method private b()Landroid/content/Intent;
    .locals 1

    .line 2
    iget-object v0, p0, Les/fu;->i:Landroid/content/Intent;

    return-object v0
.end method

.method static synthetic b(Les/fu;)Les/eu$g;
    .locals 0

    .line 1
    iget-object p0, p0, Les/fu;->g:Les/eu$g;

    return-object p0
.end method

.method static synthetic c(Les/fu;)Les/eu$g;
    .locals 0

    .line 1
    iget-object p0, p0, Les/fu;->h:Les/eu$g;

    return-object p0
.end method

.method private c()V
    .locals 3

    .line 2
    iget-object v0, p0, Les/fu;->a:Landroid/content/Context;

    invoke-static {v0}, Lcom/estrongs/android/pop/esclasses/h;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    const v1, 0x7f0c0300

    const/4 v2, 0x0

    .line 3
    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TableLayout;

    iput-object v0, p0, Les/fu;->d:Landroid/widget/TableLayout;

    .line 4
    new-instance v0, Lcom/estrongs/android/ui/dialog/q$n;

    iget-object v1, p0, Les/fu;->a:Landroid/content/Context;

    invoke-direct {v0, v1}, Lcom/estrongs/android/ui/dialog/q$n;-><init>(Landroid/content/Context;)V

    const v1, 0x7f110069

    invoke-virtual {v0, v1}, Lcom/estrongs/android/ui/dialog/q$n;->b(I)Lcom/estrongs/android/ui/dialog/q$n;

    iget-object v1, p0, Les/fu;->d:Landroid/widget/TableLayout;

    .line 5
    invoke-virtual {v0, v1}, Lcom/estrongs/android/ui/dialog/q$n;->a(Landroid/view/View;)Lcom/estrongs/android/ui/dialog/q$n;

    new-instance v1, Les/fu$b;

    invoke-direct {v1, p0}, Les/fu$b;-><init>(Les/fu;)V

    const v2, 0x7f11029e

    invoke-virtual {v0, v2, v1}, Lcom/estrongs/android/ui/dialog/q$n;->b(ILandroid/content/DialogInterface$OnClickListener;)Lcom/estrongs/android/ui/dialog/q$n;

    new-instance v1, Les/fu$a;

    invoke-direct {v1, p0}, Les/fu$a;-><init>(Les/fu;)V

    const v2, 0x7f110299

    .line 6
    invoke-virtual {v0, v2, v1}, Lcom/estrongs/android/ui/dialog/q$n;->a(ILandroid/content/DialogInterface$OnClickListener;)Lcom/estrongs/android/ui/dialog/q$n;

    .line 7
    invoke-virtual {v0}, Lcom/estrongs/android/ui/dialog/q$n;->a()Lcom/estrongs/android/ui/dialog/q;

    move-result-object v0

    iput-object v0, p0, Les/fu;->b:Lcom/estrongs/android/ui/dialog/q;

    .line 8
    invoke-direct {p0}, Les/fu;->e()V

    .line 9
    invoke-direct {p0}, Les/fu;->d()V

    return-void
.end method

.method static synthetic d(Les/fu;)Landroid/content/Intent;
    .locals 0

    .line 1
    invoke-direct {p0}, Les/fu;->b()Landroid/content/Intent;

    move-result-object p0

    return-object p0
.end method

.method private d()V
    .locals 5

    .line 2
    iget-object v0, p0, Les/fu;->d:Landroid/widget/TableLayout;

    const v1, 0x7f090a43

    invoke-virtual {v0, v1}, Landroid/widget/TableLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Les/fu;->e:Landroid/widget/TextView;

    .line 3
    iget-object v0, p0, Les/fu;->d:Landroid/widget/TableLayout;

    const v1, 0x7f090a32

    invoke-virtual {v0, v1}, Landroid/widget/TableLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Les/fu;->f:Landroid/widget/TextView;

    .line 4
    iget-object v0, p0, Les/fu;->e:Landroid/widget/TextView;

    iget-object v1, p0, Les/fu;->a:Landroid/content/Context;

    invoke-virtual {v1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f030015

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getStringArray(I)[Ljava/lang/String;

    move-result-object v1

    const/4 v3, 0x0

    aget-object v1, v1, v3

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 5
    iget-object v0, p0, Les/fu;->f:Landroid/widget/TextView;

    iget-object v1, p0, Les/fu;->a:Landroid/content/Context;

    invoke-virtual {v1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v4, 0x7f030014

    invoke-virtual {v1, v4}, Landroid/content/res/Resources;->getStringArray(I)[Ljava/lang/String;

    move-result-object v1

    aget-object v1, v1, v3

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 6
    new-instance v0, Les/fu$c;

    iget-object v1, p0, Les/fu;->e:Landroid/widget/TextView;

    const v3, 0x7f1109bc

    invoke-direct {v0, p0, v1, v2, v3}, Les/fu$c;-><init>(Les/fu;Landroid/widget/TextView;II)V

    .line 7
    new-instance v0, Les/fu$d;

    iget-object v1, p0, Les/fu;->f:Landroid/widget/TextView;

    const v2, 0x7f1109ac

    invoke-direct {v0, p0, v1, v4, v2}, Les/fu$d;-><init>(Les/fu;Landroid/widget/TextView;II)V

    return-void
.end method

.method static synthetic e(Les/fu;)Landroid/content/Context;
    .locals 0

    .line 1
    iget-object p0, p0, Les/fu;->a:Landroid/content/Context;

    return-object p0
.end method

.method private e()V
    .locals 2

    .line 2
    invoke-direct {p0}, Les/fu;->b()Landroid/content/Intent;

    move-result-object v0

    const-string v1, "CURRENT_WORKING_PATH"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Les/fu;->c:Ljava/lang/String;

    .line 3
    :try_start_0
    invoke-static {v0}, Lcom/estrongs/android/util/h0;->y1(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 4
    new-instance v0, Ljava/io/File;

    iget-object v1, p0, Les/fu;->c:Ljava/lang/String;

    invoke-direct {v0, v1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Ljava/io/File;->getCanonicalPath()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 5
    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v1

    if-lez v1, :cond_0

    iget-object v1, p0, Les/fu;->c:Ljava/lang/String;

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_0

    .line 6
    iput-object v0, p0, Les/fu;->c:Ljava/lang/String;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :catch_0
    :cond_0
    return-void
.end method


# virtual methods
.method public a(Les/fu$f;)Les/fu;
    .locals 0

    .line 6
    iput-object p1, p0, Les/fu;->j:Les/fu$f;

    return-object p0
.end method

.method public a()V
    .locals 1

    .line 2
    iget-object v0, p0, Les/fu;->b:Lcom/estrongs/android/ui/dialog/q;

    invoke-virtual {v0}, Lcom/estrongs/android/ui/dialog/q;->show()V

    return-void
.end method

.method public a(Landroid/content/Intent;)V
    .locals 1

    if-eqz p1, :cond_0

    .line 3
    iget-object v0, p0, Les/fu;->j:Les/fu$f;

    if-eqz v0, :cond_0

    .line 4
    invoke-interface {v0, p1}, Les/fu$f;->a(Landroid/content/Intent;)V

    .line 5
    :cond_0
    iget-object p1, p0, Les/fu;->b:Lcom/estrongs/android/ui/dialog/q;

    invoke-virtual {p1}, Lcom/estrongs/android/ui/dialog/q;->dismiss()V

    return-void
.end method
